<script setup lang="ts">
import { NGrid, NGi, NButton, NDataTable } from "naive-ui";
</script>

<template>
  <NGrid cols="3" x-gap="10">
    <NGi class="tw-bg-gray-300">
      <NGrid cols="2" x-gap="10">
        <NGi>
          <NButton type="primary">创建Table</NButton>
        </NGi>
        <NGi>
          <NButton type="primary">删除 Table</NButton>
        </NGi>
      </NGrid>
    </NGi>
    <NGi span="2">
      <NDataTable> </NDataTable>
    </NGi>
  </NGrid>
</template>

<style scoped></style>
